package org.trader.proj.Pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TblTrader entity. @author MyEclipse Persistence Tools
 */

public class TblTrader implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = 496822855374895840L;
	private Integer traderId;
	private String loginName;
	private String pasword;
	private Set tblShopses = new HashSet(0);

	// Constructors

	/** default constructor */
	public TblTrader() {
	}

	/** minimal constructor */
	public TblTrader(String loginName, String pasword) {
		this.loginName = loginName;
		this.pasword = pasword;
	}

	/** full constructor */
	public TblTrader(String loginName, String pasword, Set tblShopses) {
		this.loginName = loginName;
		this.pasword = pasword;
		this.tblShopses = tblShopses;
	}

	// Property accessors

	public Integer getTraderId() {
		return this.traderId;
	}

	public void setTraderId(Integer traderId) {
		this.traderId = traderId;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPasword() {
		return this.pasword;
	}

	public void setPasword(String pasword) {
		this.pasword = pasword;
	}

	public Set getTblShopses() {
		return this.tblShopses;
	}

	public void setTblShopses(Set tblShopses) {
		this.tblShopses = tblShopses;
	}

}